<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta http-equiv="Pragma" content="no-cache" />
		<title>我的易安</title>
		<%@ include file="/user_comm.jsp"%>
		<link rel="stylesheet"
			href="http://a.tbcdn.cn/apps/sell/1.0/publish_detail_ke.css?t=20110128editor.css" />
		<link href="<%=request.getContextPath()%>/css/prop.css"
			type="text/css" rel="stylesheet" />
		<!-- script start -->
		<style type="text/css">
<!--
.tit_small2 {
	float: left;
	width: 750px;
	font-weight: bold;
	color: #333;
	clear: both;
	text-align: left;
	padding: 10px;
	padding-bottom: 0;
}

.tit_small2 a {
	font-weight: 500;
}

.table_1 {
	width: 100%;
	border-left: 1px #c4d5e0 solid;
	border-top: 1px #c4d5e0 solid;
	clear: both;
	text-align: left;
}

.table_1 td {
	padding: 8px 0 6px 0;
	color: #333;
	text-indent: 10px;
	border-bottom: 1px #c4d5e0 solid;
	border-right: 1px #c4d5e0 solid;
}

.table_1 .tit_l {
	text-align: right;
	text-indent: 0px;
	background-color: #ecf5ff;
	color: #666;
}

.table_1 .tit_head {
	text-align: center;
	text-indent: 0px;
	background-color: #ecf5ff;
	color: #666;
}

.table_1 strong {
	color: #459207;
	margin-left: 10px;
}

.table_1 font {
	color: #f60;
}

.table_2 {
	width: 100%;
	border-left: 1px #c4d5e0 solid;
	border-top: 1px #c4d5e0 solid;
	border-bottom: 1px #c4d5e0 solid;
	border-right: 1px #c4d5e0 solid;
	clear: both;
	text-align: left;
}
-->
</style>
		<!-- script end -->
	</head>
	<body>
		<%@ include file="/user_top.jsp"%>
		<div class="realCer">
			<!--导航-->
			<!--主体部分start-->
			<div class="realMain clearfix mt10">
				<%@ include file="/user_menu.jsp"%>
				<div class="realRight ml10 Buyer">
					<div class="mybox">
						<div class="mytit">
							订单查看
						</div>
						<div class="con">
							<div class="l-myzbj-tips fc6 mb10" style="padding: 3px 10px;">
								<span class="l-cBlack">温馨提示：</span>订单提示信息....
							</div>
							<input type="hidden" id="hdfRoletype"
								value="${orderInfo.roleType }" />
							<div align="left">
								<table width="100%" border="0" cellpadding="0" cellspacing="1">
									<tr>
										<td width="200px" valign="top">
											<table class="table_2" border="0" cellpadding="0"
												cellspacing="1">
												<tr>
													<td>
														<strong>商品信息</strong>
													</td>
												</tr>
												<tr>
													<td align="center">
														<img height="180" width="180" alt="商品图片"
															src="<%=request.getContextPath()%>/upload/seal/s_${product.image1}" />
													</td>
												</tr>
												<tr>
													<td>
														<table border="0" cellpadding="0" cellspacing="1">
															<tr>
																<td align="right">
																	<input type="hidden" id="productId"
																		name="orderInfo.productId"
																		value="${orderInfo.productId}" />
																	商品名称：
																</td>
																<td>
																	${orderInfo.productName}
																</td>
															</tr>
															<tr>
																<td align="right">
																	型&nbsp;&nbsp;号：
																</td>
																<td>
																	${orderInfo.type}
																</td>
															</tr>
															<s:if test='1==#request.orderInfo.sid'>
															<tr>
																<td align="right">
																	颜&nbsp;&nbsp;色：
																</td>
																<td>
																	<input type="hidden" name="orderInfo.color"
																		value="${orderInfo.color}" />
																	${orderInfo.color}
																</td>
															</tr>
															</s:if>
															<tr>
																<td align="right">
																	单&nbsp;&nbsp;价：
																</td>
																<td>
																	<input type="hidden" id="hdfPrice"
																		value="${orderInfo.price}" />
																	<input type="hidden" id="hdfScore"
																		value="${orderInfo.score}" />
																	<input type="hidden" id="hdfDiscount"
																		name="orderInfo.discount"
																		value="${orderInfo.discount}" />
																	${orderInfo.price}
																	<s:if test='"RMB"==#request.orderInfo.currtype'>
														元
													</s:if>
																	<s:elseif test='"USD"==#request.orderInfo.currtype'>
														美元
													</s:elseif>
																</td>
															</tr>
														</table>
													</td>
												</tr>
											</table>
										</td>
										<td valign="top">
											<div>
												<table class="table_1" border="0" cellspacing="0"
													cellpadding="0">
													<tr>
														<td colspan="4">
															<strong> 订单信息 </strong>
														</td>
													</tr>
													<tr>
														<td class="tit_l">
															订单号：
														</td>
														<td>
															${orderInfo.id}
														</td>
														<td class="tit_l">
															订单状态：
														</td>
														<td>

															<s:property value="showStatus(#request.orderInfo.status)" />
														</td>
													</tr>
													<tr>
														<td class="tit_l">
															下单账户：
														</td>
														<td>
															${orderInfo.userId}
														</td>
														<td class="tit_l">
															订单日期：
														</td>
														<td>
															<s:date name="#request.orderInfo.createDate"
																format="yyyy-MM-dd HH:mm" />
														</td>
													</tr>
													<tr>
														<td class="tit_l">
															订购数量：
														</td>
														<td>
															${orderInfo.amount}
														</td>
														<td class="tit_l">
															折扣：
														</td>
														<td>
															${orderInfo.discount}
														</td>
													</tr>
													<tr>
														<td class="tit_l">
															订单金额：
														</td>
														<td>
															${orderInfo.totalprice }
															<s:if test='"RMB"==#request.orderInfo.currtype'>
														元
													</s:if>
															<s:elseif test='"USD"==#request.orderInfo.currtype'>
														美元
													</s:elseif>
														</td>
														<td class="tit_l">
															赠送积分：
														</td>
														<td>
															${orderInfo.totalscore}
														</td>
													</tr>
													<tr>
														<td colspan="4">
															<strong>收货人信息</strong>
														</td>
													</tr>
													<tr>
														<td class="tit_l">
															收货人：
														</td>
														<td>
															${orderInfo.userName }
														</td>
														<td class="tit_l">
															联系电话：
														</td>
														<td>
															${orderInfo.cellphone }
														</td>
													</tr>
													<tr>
														<td class="tit_l">
															收货地址：
														</td>
														<td colspan="3">
															${orderInfo.address }，${orderInfo.postcode }
														</td>
													</tr>
													
													<s:if test='1==#request.orderInfo.sid'>
													<tr>
														<td colspan="4">
															<strong>封条编码信息</strong>
														</td>
													</tr>
													<tr>
														<td class="tit_l">
															编码位数：
														</td>
														<td>
															${orderInfo.seqLen }
														</td>
														<td class="tit_l">
															商标：
														</td>
														<td>
															${orderInfo.trademark }
														</td>
													</tr>
													<tr>
														<td class="tit_l">
															编码规则：
														</td>
														<td colspan="3">

															<s:if test='"01"==#request.orderInfo.roleType'>全数字</s:if>
															<s:elseif test='"02"==#request.orderInfo.roleType'>字母+数字，字母前辍：${orderInfo.seqChar }
													</s:elseif>
														</td>
													</tr>
													<s:if test='"A06"== #request.orderInfo.status'>
														<tr>
															<td class="tit_l">
																封条号：
															</td>
															<td colspan="3">
																${orderInfo.startId }~${orderInfo.endId }
															</td>
														</tr>
													</s:if>
													</s:if>
													
													<tr>
														<td class="tit_l">
															订单留言：
														</td>
														<td colspan="3">
															${orderInfo.message }
														</td>
													</tr>

												</table>
											</div>
											<div>
												<br/>
												&nbsp;&nbsp;<a href="javascript:history.go(-1);" class="at_but b_1_y" id="reg_sub"><u></u>返回</a>
											</div>
										</td>
									</tr>
								</table>
							</div>
						</div>
					</div>
					<div>
					</div>
					<!--主体部分end-->
				</div>
			</div>
			<!--底部 start-->
			<%@ include file="/user_button.jsp"%>
			<!--底部end-->
	</body>
</html>
